const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            // 直接覆盖变量
            blue: '#23b97c',
            'nav-bar-background-color': '#1cb676',
            'nav-bar-title-text-color': '#fff',
            'nav-bar-icon-color': '#fff',
            'search-background-color': 'transparent',
            'index-anchor-line-height': '42px',
            'index-anchor-text-color': '#999',
            'index-bar-index-line-height': '20px',
            'index-bar-index-font-size': '14px',
            'tabbar-item-font-size': '17px',
            'tabbar-height': '45px'
          }
        }
      }
    }
  }
})
